button:focus {
  outline: none;
}

// .rowHandle > .cell .btn:first-child {
//   margin-left: 0 !important;
// }
.rowHandle > .cell {
  justify-content: start;
}
.el-table, .el-table__expanded-cell{
  background: transparent;
}
.el-table tr{
  background: transparent;
}
.el-table td,
.el-table th {
  font-size: 12px;
  line-height: 15px;
  text-align: left;
}
.el-table th {
  font-weight: 500;
}
.el-table td {
  font-weight: 400;
}
.el-table__row{
  height: 44px;
}
.el-table .cell {
  line-height: 15px;
  padding-left: 10px !important;
  //padding-right: 10px !important;
}
.el-table th>.cell{
  padding-right: 10px !important;
}
//.el-table .option .cell{
//  max-width: none;
//}
.el-table-column--selection .cell {
  padding-right: 0;
}
.el-table td .el-button{
  padding: 0;
}

// 分页右对齐
.d2-crud-pagination {
  text-align: right;
}

.el-dialog__footer,
.el-message-box__btns {
  border-top: 1px solid rgba(0, 0, 0, 0.09);
  padding: 10px 20px;
}
.el-message-box__btns {
  margin-top: 36px;
  padding-bottom: 0;
}

.el-menu-item:focus,
.el-menu-item:hover {
  span {
    width: 66px;
    height: 20px;
    font-size: 14px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #0B085F;
    line-height: 20px;
  }
}

.context {
  .el-menu-item.is-active,
  .el-tree-node.is-current,
  .all_text:hover,
  .all_text.active {
    border-right: 4px solid #0B085F;
    background-color: #F7F8FF;
    color: #0B085F;
  }
}
.custom-tree {
  .el-menu-item.is-active,
  .el-tree-node.is-current,
  .all_text:hover,
  .all_text.active {
    border-right: 0;
    color: #606266;
  }
}
.el-form-item__label {
  font-size: 80%;
  font-weight: 400;
  color: #666666;
  line-height: 40px;
}
.el-dialog__body {
  max-height: 60vh;
  overflow-y: auto;
  padding-top: 10px;
}
// 占位符

.el-cascader .el-input__inner::-webkit-input-placeholder {
  color: #606266;
}

// tabs
.el-tabs__nav-wrap {
  &::after {
    height: 1px;
  }
  .el-tabs__active-bar {
    height: 1px;
  }
}

// 修改筛选条件样式

.queryform {
  margin-top: 0px;
  padding: 10px 20px 20px 20px;
  background: rgba(255, 255, 255, 0.502);
  border: 2px solid #FFFFFF;
  border-radius: 8px;
  .right {
    text-align: right;
    margin-top: 10px;
  }
  .item:not(.right) {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 110px calc(100% - 110px);
    grid-template-rows: 33px;
    .label-size {
      box-sizing: border-box;
      padding: 8px;
      line-height: 1;
      margin-bottom: 0;
      font-size: 12px;
    }
    > .el-input,
    > .el-cascader,
    > .el-select,
    > .el-date-editor {
      width: 100% !important;
      height: max-content !important;
    }

    &:last-child {
      margin-bottom: 15px;
    }
  }
  @media (min-width: 992px) {
    .item {
      width: calc(100% / 3);
    }
  }
  @media (min-width: 1440px) {
    .item {
      width: calc(100% / 4);
    }
  }

  & + * {
    //margin-bottom: 10px !important;
  }
}

// 修改my-element-crud下筛选条件样式
.d2-crud .d2-crud-pagination{
  background-color: #FFFFFF;
}
.d2-crud .d2-crud-pagination .el-pagination{
  margin-top: 0;
}

// 历史栏
.d2-theme-container-main-header .d2-multiple-page-control{
  width: calc(100vw - 220px);
  background: #E8ECEF;
}
.el-tabs--card>.el-tabs__header{
  border-bottom: 0;
}

.el-tooltip__popper.is-dark{
  white-space: pre !important;
}
.el-drawer{
  outline: none;
}


// 解决抖动问题，大概
.el-cascader .el-cascader__tags>.el-tag{
  // flex: 0 0 51%;
}

.el-submenu.is-opened{
  background: rgba(32,127,193,0.3);
}

// 下拉框
.el-select-dropdown__item.hover, .el-select-dropdown__item:hover{
  background-color: #ECF5FA;
}

// 级联
.el-cascader-node:not(.is-disabled):focus, .el-cascader-node:not(.is-disabled):hover{
  background-color: #ECF5FA;
}

.custom-radio-group .el-radio__label{
  font-size: 12px;
}

.el-input-group__append, .el-input-group__prepend{
  padding: 0 10px;
}